package com.bjzs.skywalking.study.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Author:liuwenqing
 * @Date:2024/8/29 11:38
 * @Description:
 **/
@RestController
public class TestController {

    public static final Logger logger = LoggerFactory.getLogger(TestController.class);

    @GetMapping(value = "/test")
    public static final String test(HttpServletRequest request, HttpServletResponse response) {

        logger.info("/test {}, {}", 1, 2);

        return "hello world";
    }

}
